

import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class TeleportRoomTest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class TeleportRoomTest
{
    private Room roomA;
    private TeleportRoom roomB;
    private Room room1;
    private Room room2;
    private Room room3;
    private TeleportRoom teleport1;

    /**
     * Default constructor for test class TeleportRoomTest
     */
    public TeleportRoomTest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        roomA = new Room("roomA");
        roomB = new TeleportRoom("roomB");
        room1 = new Room("roomB");
        room2 = new Room("roomC");
        room3 = new Room("roomD");
        teleport1 = new TeleportRoom("TPRoom");
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    @Test
    public void getRandomRoom()
    {
        assertNotNull(teleport1.getRandomRoom());
    }
}

